package com.hkrt.demo.di.component

import com.hkrt.demo.di.module.ActivityModule
import com.hkrt.demo.di.scope.PerActivity
import com.hkrt.demo.presentation.screen.login.LoginActivity
import com.hkrt.demo.presentation.screen.main.MainActivity
import dagger.Subcomponent

/**
 * @author  Chenjinguang
 * @date 31.07.2017.
 */

@PerActivity
@Subcomponent(modules = [(ActivityModule::class)])
interface ActivityComponent {

    fun inject(loginActivity: LoginActivity)

    fun inject(mainActivity: MainActivity)
}